package com.gongye.courseselectionsystem.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gongye.courseselectionsystem.pojo.vo.ChooseCourseVo;

import java.util.List;

/**
 * @author baorongchauan
 */
public interface ChooseCourseVoMapper extends BaseMapper<ChooseCourseVo> {
    /**
     * 查询每个老师有多少选课的学生，并列出名字
     *
     * @return 老师已有选课的学生名单
     */
    List<ChooseCourseVo> teacherHaveStudent();
}
